{% extends 'column.html' %}

{% block title %}
    {{ article.title }}
{% endblock %}

{% block content %}


    {% if article %}
        {{ article.content|safe }}
        <p>
        <table bgcolor="#f5f5dc" class="cneirong">
            {% for file in article.downloaditem_set.all() %}
                <tr>
                    <td>{{ file.title }}&nbsp;&nbsp;&nbsp;</td>
                    <td><a href="{{ file.file_item.url }}">
                        <img src="/static/images/my/download-icon.png"/>
                        <span class="url_style">下载</span>
                    </a>
                    </td>
                </tr>

            {% endfor %}
        </table>
        </p>
    {% endif %}


{% endblock %}